Travelpayouts\components\validators\ValidatorRule S

Total Complexity 46
Dependencies 5
Dependents 1
Total lines 280
Lines of code 122
Logical lines of code 70
Comment lines 101
Methods 14
Properties 9

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_attributes()
A
52 11 23
get_validation_attributes()
S
59 5 16
add_error()
S
59 5 14
get_attributes()
S
61 4 13
isEmpty()
S
69 4 6
format_message()
S
67 3 7
attributes()
S
64 3 10
is_active()
S
76 3 3
validate_attribute()
S
69 2 6
set_attributes()
S
63 2 10
__construct()
S
77 1 4
init()
S
91 1 2
validate_value()
S
79 1 3
get_attribute_names()
S
73 1 5